﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Html5.shopindex" %>

<%@ Register Src="~/footer.ascx" TagName="Foot" TagPrefix="uc2" %>
<!DOCTYPE html>
<html lang="en">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <title><%= SectionProxyData.GetSetValue(3) %></title>
    <link type="text/css" rel="stylesheet" href="/css/style.css" />
    <link type="text/css" rel="stylesheet" href="/css/home.css?v=1104" />
    <link href="/css/pictip.css" rel="stylesheet" type="text/css" />
    <link type="text/css" rel="stylesheet" href="/css/page.css?v=1215" />
    <link href="../css/shopcenter.css" rel="stylesheet" />
    <link href="../css/sweetalert.css" rel="stylesheet" />


    <style type="text/css">
        .bom_menu .icon-food {
            background-image: url(/images/ico_b_food_cur.png);
        }

        body {
            background: #fff;
        }

        #page_title .top_shop {
            background: url(/images/web_notice.png) no-repeat;
            height: 32px;
            width: 32px;
            margin-top: 5px;
            background-size: 100% 100%;
        }
    </style>



</head>
<body id="page_allMenu">

    <form runat="server"></form>


    <input id="hfhavenoice" runat="server" type="hidden" value="0" />

    <input id="hfpage" runat="server" type="hidden" />
    <input id="hfcpage" runat="server" type="hidden" value="1" />
    <header id="page_title">
        <h1>爆走商户</h1>
        <a id="togourl" runat="server" class="top_shop top_right" href="notice.aspx"></a>
    </header>



    <div class="container">
        <div style="text-align: center; display: none;">
            <img src="../images/logo.png" style="width: 131px; height: 100px;" />

        </div>
        <div class="index_class">
            <div class="swiper-container1 swiper1">

                <div style="color: blue; padding-top: 10px; padding-left: 10px; text-align: left;"><a href="recharge.aspx">当前余额：<label runat="server" id="mymoney" style="color: red; font-weight: bold;"></label>元</a><a href="recharge.aspx" style="margin-left:10px;color: red; ">充值</a></div>


                <div class="swiper-wrapper">

                    <ul class="swiper-slide">

                        <li>
                            <div>
                                <p>
                                    <a href="publishorder.aspx">
                                        <img src="../images/shopmenu/menu_order_icon.png">
                                    </a>
                                </p>
                                <p><a href="publishorder.aspx">我要下单</a></p>
                            </div>
                        </li>

                        <li>
                            <div>
                                <p>
                                    <a href="myorderlist.aspx">
                                        <img src="../images/shopmenu/menu_publish_icon.png">
                                    </a>
                                </p>
                                <p><a href="myorderlist.aspx">订单管理</a></p>
                            </div>
                        </li>


                        <li runat="server" id="elebox" style="display: none;">
                            <div>
                                <p>
                                    <a href="eleorderlist.aspx">
                                        <img src="../images/shopmenu/eleico.png">
                                    </a>
                                </p>
                                <p><a href="eleorderlist.aspx">饿了么订单</a></p>
                            </div>
                        </li>

                        <li runat="server" id="mtbox" style="display: none;">
                            <div>
                                <p>
                                    <a href="mtorderlist.aspx">
                                        <img src="../images/shopmenu/mtico.png">
                                    </a>
                                </p>
                                <p><a href="mtorderlist.aspx">美团订单</a></p>
                            </div>
                        </li>




                        <li>
                            <div>
                                <p>
                                    <a href="shopsum.aspx">
                                        <img src="../images/shopmenu/menu_sum_icon.png">
                                    </a>
                                </p>
                                <p><a href="shopsum.aspx">统计结算</a></p>
                            </div>
                        </li>

                        <li>
                            <div>
                                <p>
                                    <a href="about.aspx">
                                        <img src="../images/shopmenu/menu_config_icon.png">
                                    </a>
                                </p>
                                <p><a href="about.aspx">关于我们</a></p>
                            </div>
                        </li>

                    </ul>

                </div>

            </div>
        </div>

        <div class="view_back_con" style="margin-top: 20px;">
            <input type="submit" id="btsubmit" value="退出登录" onclick="gourl('tlogin.aspx?out=1')" class="view_back_btn" data-ajax="false" />
        </div>

    </div>



</body>
</html>

<script src="/javascript/jquery.js" type="text/javascript"></script>
<script src="/javascript/jCommon.js" type="text/javascript"></script>
<script src="../javascript/sweetalert.min.js"></script>

<script type="text/javascript">
    $(function () {

        //提交订单post信息
        var hfhavenoice = $("#hfhavenoice").val();
        if (hfhavenoice == "1") {
            swal({
                title: "",
                text: "有新的通知，请点击查看",
                type: "warning",
                closeOnConfirm: false
            },
                function () {
                    window.location = "notice.aspx";
                });

        }

        if (initData.money < 20)
        //if (1 < 0)
        {
            swal({
                title: "",
                text: "您的余额已经小于20元，请及时充值！",
                type: "warning",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "去充值",
                cancelButtonText: "再想想",
                closeOnConfirm: false,
                closeOnCancel: false
            },
            function (isConfirm) {
                if (isConfirm) {
                    
                    gourl("recharge.aspx");


                } else {
                    swal.close();
                }
            });


        }


    })
</script>
